﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CreateEventUserControl.ascx.cs"
    Inherits="JM.JCY.SharePointComponent.Event.CreateEvent.CreateEventUserControl" %>
 
<div>
    <table class="main">
        <tr>
            <td valign="top" runat="server" id="tdContent">
                <table class="content" width="98%">
                    <tr>
                        <td style="padding: 5px;">
                            <table width="100%" class="title">
                                <tr>
                                    <td width="60%">
                                        <h2 class="title">
                                          <img src="/_layouts/JM.JCY.Resource/images/calendar.png" width="28" />
                                            创建工作计划</h2>
                                    </td>
                                    <td align="right" width="40%">
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                            <br />
                            <hr />
                            <table width="100%" class="form">
                                <tr>
                                    <td>
                                        <b>标题</b> <span class="mandatory" style="color: #FF0000">*</span>
                                    </td>
                                    <td>
                                        :
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSubject" runat="server" Width="200px" MaxLength="10"></asp:TextBox>
                                        <asp:Label ID="Label1" runat="server" Font-Italic="True" Font-Size="Small" 
                                            ForeColor="#000099" Text="10个字以内"></asp:Label>
                                        <br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                            ControlToValidate="txtSubject" Display="Dynamic" 
                                            ErrorMessage="RequiredFieldValidator" ValidationGroup="EventCreate">请输入工作计划的标题</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <b>具体事项</b> <span class="mandatory" style="color: #FF0000">*</span>
                                    </td>
                                    <td>
                                        :
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSummary" runat="server" TextMode="MultiLine" Rows="5" Columns="70"
                                            MaxLength="2000"></asp:TextBox>
                                        <br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                            ControlToValidate="txtSummary" Display="Dynamic" 
                                            ErrorMessage="RequiredFieldValidator" ValidationGroup="EventCreate">请输入工作计划的具体事项</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td><b>到期日期</b>
                                       
                                    </td>
                                    <td>
                                        :
                                    </td>
                                    <td class="nopaddingleft">
                                        <SharePoint:DateTimeControl ID="dtEndDateFrom" CalendarImageUrl="/_layouts/JM.JCY.Resource/images/calendar.jpg"
                                            DatePickerFrameUrl="/_layouts/iframe.aspx" DateOnly="true" Calendar="Gregorian"
                                            LocaleId="2057" runat="server"></SharePoint:DateTimeControl>
                                    </td>
                                </tr>
                            
                                <tr>
                                    <td colspan="3" class="button" align="right">
                                        <asp:ImageButton ID="imgSavePublish" runat="server" ImageUrl="~/_layouts/JM.JCY.Resource/images/save.png"
                                            ValidationGroup="EventCreate" OnClick="imgSavePublish_Click" />
                                        <asp:ImageButton ID="imgCancel" runat="server" ImageUrl="~/_layouts/JM.JCY.Resource/images/cancel.png"
                                            OnClick="imgCancel_Click" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
